/**
 * 定义实时数据模块
 */
(function(window, angular, undefined){
	var module = angular.module('water.apps.WasteWater.reportRealTime.reportRealTimeManager', ['water.apps.common.report.reportBase']);
	
	module.controller('reportRealTimeManagerController',function($rootScope,$scope,$controller){

		var control = $controller("commonReportController",{$scope:$scope});
		
		/**
		 * 获取查询参数
		 * forExcel 是否用于导出
		 */
		$scope.getQueryObject = function(forExcel){

			var startTime =$scope.queryDate + " " + $scope.startHour + ":00:00";
			var endTime = $scope.queryDate + " " + $scope.endHour + ":55:00";
			var parmsStr = $scope.selectedModel.parmToChecksStr;
			var queryObject = {
					"MN":$scope.selectedModel.MN,
					"PARMS":parmsStr,
					"START":startTime,
					"END":endTime,
					"EXPORT":forExcel
				};
			return queryObject;
		}
		
	});
}(window, angular));	